package com.heng.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heng.dao.entity.coupon.CouponTemplateDO;

import java.util.List;

public interface CouponTemplateService extends IService<CouponTemplateDO> {
    List<CouponTemplateDO> getByShopNumber(Long shopNumber);
    List<CouponTemplateDO> getValidTemplates();
    IPage<CouponTemplateDO> pageQuery(Integer pageNum, Integer pageSize);
}